package chp02;

import java.util.Scanner;

public class Test4 {

    public static void main(String[] args) {
        //接收器
        Scanner input = new Scanner(System.in);
        //键盘输入
        System.out.print("请输入第一个数:");
        int a = input.nextInt();
        System.out.print("请输入第二个数:");
        int b = input.nextInt();
        int c = a + b;
        System.out.println("和:"+c);
        // 5 + 6 = 11
        System.out.println(a + " + " + b + " = " + c);
    }
}
